<template>
	<view class="header-search fsb">
		<view class="left">
			<input type="text" value="" disabled  @click="goRouter('/pages/search/searchHuodong')" placeholder="搜索活动"/>
			<view class="search"></view>
		</view>
		<view class="right df-ac">
			<image src="../static/imgs/i-message.png" mode=""></image>
			<view class="dot"></view>
		</view>
	</view>
</template>
 
<script>
	export default {
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.header-search {
		padding: 0 30rpx;
		padding-top: 50rpx;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		.left {
			position: relative;
			flex:1;
			input {
				height: 65rpx;
				line-height: 65rpx;
				background-color: #f8f8fa;
				border-radius: 36rpx;
				padding-left: 60rpx;
				font-size: 24rpx;
			}
			.search {
				background-image: url(../static/imgs/i-search.png);
				background-repeat: no-repeat;
				background-size: cover;
				width: 30rpx;
				height: 30rpx;
				position: absolute;
				left: 20rpx;
				top: 50%;
				transform: translateY(-50%);
			}
			
		}
		.right {
			width: 60rpx;
			justify-content: flex-end;
			position: relative;
			image {
				width: 40rpx;
				height: 40rpx;
			}
			.dot {
				width: 16rpx;
				height: 16rpx;
				background-color: #f33333;
				border-radius: 50%;
				position: absolute;
				right: -2rpx;
				top: 10rpx;
			}
		}
	}
</style>
